home *** CD-ROM | disk | FTP | other *** search
/ DOKAN 9 / Dokan 09.iso / IE401 / msagent.exe / 1033 / RCDATA / CABINET / agtinst.inf < prev    next >
INI File  |  1998-02-20  |  9KB  |  266 lines

  1. ;Agent.INF for 1.5
  2. ;Last modified  7/23/97 10:00 AM   by eric moore (a-emoore)
  3. ;  Speechdir = AgentDir, Nuke new cgram changes
  4. ;  added genie.inf
  5. ;  added mahelp app to rename beta1 display name if it exists
  6. ;  added the Ask/Tell install prompts
  7. ;  DONT register by hand...took out msvcrt
  8. ;  changed mahelp to fix beta 1 path, now delete oca files...
  9. ;  added msagent2.inf file and  entry to clean occache
  10. ;  took out IE 3.0 check and 'beta 2'
  11. ;  added LWV file registration and fixed 'DefaultIcon' for Agnet.Character
  12. ;  added help file and changed name to 1.5
  13. ;  added code to run DelGenie.inf to remove Beta1/Beta1A (took out genie.inf)
  14. ;  added code from msagent2.inf, and took it out of cab, delete runonce entry also on uninstall j.i.c., new naming convention
  15. ;  added code to delete HKCR/TypeLib/<CLSID>/1.5 for server, control, data provider, and mslwvtts
  16.  
  17. [Version] 
  18. Signature=$CHICAGO$ 
  19. AdvancedINF=2.5,%ADVPKPRMPT%
  20.  
  21. [DestinationDirs] 
  22. LWVCopy = 49005        ;49007
  23. LWVRemove = 49005    ;49007
  24. TTSCopy = 49010                                         
  25. AgentCopy = 49005    ;49007                                          
  26. AgentRemove = 49005    ;49007
  27. AgentOCA = 49005    ;49007
  28. AgentINFCopy = 17 
  29. AgentHLPCopy = 18 
  30. RemoveINF = 17
  31. RemoveCab = 25,occache
  32.  
  33. [AgentCustomDestination]
  34. ;<oemSFN>,<ansiLFN>,<ansiSFN>,<oemLFN>
  35. ;49000 = CustomLDID49000,18                       ;Check for IE
  36. 49001,49002,49003,49004 = CustomLDID49001,21        ;program files      
  37. 49005,49006,49007,49008 = CustomInstallDir,5        ;this is where we install to...
  38.  
  39. [CustomLDID49000]
  40. HKLM,SOFTWARE\Microsoft\Internet Explorer,Build,%IEPRMPT%,
  41.  
  42. [CustomLDID49001]
  43. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion,ProgramFilesDir,,%24%\%PROGRAMF%
  44.  
  45. [CustomInstallDir]
  46. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",%TellInstall%,
  47. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir",%TellInstall%,
  48. HKLM,"SOFTWARE\Microsoft\Agent","InstallDir",%TellInstall%,
  49. ,,,%AskInstall%,%49002%\%MSAGENT%
  50.  
  51. [DefaultInstall] 
  52. ;RequiredEngine=setupapi.dll,"Required setupapi.dll missing"
  53. CheckAdminRights=1
  54. CopyFiles = AgentCopy, AgentINFCopy, LWVCopy, AgentHLPCopy 
  55. AddReg = AgentRegSection  
  56. RunPreSetupCommands = RunPreSetup 
  57. CustomDestination = AgentCustomDestination
  58. RunPostSetupCommands = RunPostSetupCmds
  59.  
  60. [DefaultInstall.NT] 
  61. ;RequiredEngine=setupapi.dll,"Required setupapi.dll missing"
  62. CheckAdminRights=1 
  63. CopyFiles = AgentCopy, AgentINFCopy, LWVCopy, AgentHLPCopy 
  64. AddReg = AgentRegSection  
  65. RunPreSetupCommands = RunPreSetup 
  66. CustomDestination = AgentCustomDestination
  67. RunPostSetupCommands = RunPostSetupCmdsNT
  68.  
  69. [RunPreSetup]
  70. agtinst.exe
  71. "RunDll32 advpack.dll,LaunchINFSection DelGenie.inf, RemoveGenie"
  72.  
  73. [RunPostSetupCmds]
  74. regsvr32 /s %49007%\AgentCtl.dll
  75. regsvr32 /s %49007%\AgentDPv.dll
  76. regsvr32 /s %49007%\mslwvtts.dll
  77. %49007%\AgentSvr.exe /regserver
  78.  
  79. agtpost %49006%\AgentCtl.dll
  80. agtpost %49006%\AgentDPv.dll
  81. agtpost %49006%\mslwvtts.dll
  82. agtpost %49006%\AgentSvr.exe
  83.  
  84. [RunPostSetupCmdsNT]
  85. ;These have to be triple-double quoted for NT cause of the spaces in the path...
  86. regsvr32 /s """%49007%\AgentCtl.dll"""
  87. regsvr32 /s """%49007%\AgentDPv.dll"""
  88. regsvr32 /s """%49007%\mslwvtts.dll"""
  89. %49007%\AgentSvr.exe /regserver
  90.  
  91. agtpost %49006%\AgentCtl.dll
  92. agtpost %49006%\AgentDPv.dll
  93. agtpost %49006%\mslwvtts.dll
  94. agtpost %49006%\AgentSvr.exe
  95.  
  96. [AgentRegSection]
  97. HKCR,.aaf,,,Agent.Character
  98. HKCR,.acs,,,Agent.Character
  99. HKCR,.acf,,,Agent.Character
  100. HKCR,.lwv,,,LWVFile
  101. HKCR,Agent.Character,,,"Microsoft Agent Character File"
  102. HKCR,Agent.Character\DefaultIcon,,,"%49007%\AgentSvr.exe,-211"
  103. HKCR,LWVFile,,,"Microsoft Linguistically Enhanced Sound File"
  104. HKCR,LWVFile\DefaultIcon,,,"%49007%\mslwvtts.dll,-133"
  105. HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0,,,"0,4,FFFFFFFF,C2ABCDAB"
  106. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,%49006%
  107. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent,"DisplayName",,%PRODNAME%
  108. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent,"UninstallString",,"RunDll32 advpack.dll,LaunchINFSection %17%\agtinst.inf, RemoveAgent"
  109. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent,"RequiresIESysFile",,"0"
  110. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"MSAgent",,"RunDll32 advpack.dll,LaunchINFSection %17%\agtinst.inf, RemoveCabinet" 
  111.  
  112. ;these are left over from the ugly rename operation
  113. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,,,%49003%
  114. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,"AGENTC~1.DLL",,"AgentControl.dll"
  115. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,"AGENTD~1.DLL",,"AgentDataProvider.dll"
  116. ;HKLM,Software\Microsoft\Windows\CurrentVersion\RenameFiles\Agent,"AGENTS~1.EXE",,"AgentServer.exe"
  117.  
  118. ; ***********************************************************
  119. ; here is the UNINSTALL Stuff.....
  120.  
  121. ;this is the entry point to remove the exe from occache...
  122. [RemoveCabinet]
  123. DelFiles=RemoveCab
  124.  
  125. [RemoveAgent] 
  126. NTAdmin=1 
  127. BeginPrompt=BeginPromptSection
  128. EndPrompt=EndPromptSection
  129. CustomDestination = UninstallDestination
  130. RunPreSetupCommands = RunPreRemoveCmd 
  131. UnregisterOCXs = UnRegisterFilesSection
  132. DelFiles = AgentRemove, AgentOCA, LWVRemove, RemoveINF, AgentHLPCopy ;, TTSCopy ;   
  133. DelReg = AgentUnRegister ;, TTSUnRegister 
  134. Deldirs=RemoveDirSection
  135. Cleanup=1
  136.  
  137. [UninstallDestination]
  138. ;<oemSFN>,<ansiLFN>,<ansiSFN>,<oemLFN>
  139. 49005,49006,49007,49008 = CustomRemoveDir,5
  140. ;49010 = CustomLDID49010,5
  141.  
  142. [CustomRemoveDir]
  143. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir",,
  144.  
  145. [CustomLDID49010]
  146. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir",,%24%
  147.  
  148. [RemoveDirSection]
  149. %49007%
  150. ;%49010%
  151.  
  152. [RunPreRemoveCmd]
  153. "RunDll32 advpack.dll,LaunchINFSection %17%\msrmcgrm.inf, RemoveCgram, 5"
  154.  
  155. [BeginPromptSection]
  156. Prompt="%AskUninstall%"
  157. ButtonType=YESNO
  158. Title="%AgentDesc%"
  159.  
  160. [EndPromptSection]
  161. Prompt="%DoneUnInstall%"
  162.  
  163. [UnRegisterFilesSection]
  164. %49007%\AgentSvr.exe
  165. %49007%\AgentCtl.dll
  166. %49007%\AgentDPv.dll
  167. %49007%\mslwvtts.dll
  168. ;%49007%\wrapcgrm.dll
  169.  
  170. [AgentUnRegister]
  171. HKCR,.aaf
  172. HKCR,.acf
  173. HKCR,.acs
  174. HKCR,.lwv
  175. HKCR,Agent.Character
  176. HKCR,LWVFile
  177. HKCR,FileType\{1EAF7042-9F92-11D0-89AA-00A0C9054129}\0
  178. HKCR,TypeLib\{F5BE8BC2-7DE6-11D0-91FE-00C04FD701A5}\1.5
  179. HKCR,TypeLib\{A7B93C73-7B81-11D0-AC5F-00C04FD97575}\1.5
  180. HKCR,TypeLib\{BB64DF30-88E4-11D0-9E87-00C04FD7081F}\1.5
  181. HKCR,TypeLib\{95A893C0-543A-11D0-AC45-00C04FD97575}\1.5
  182. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","AgentDir"
  183. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Agent
  184. HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce,"MSAgent"
  185. HKCU,"SOFTWARE\Microsoft\Microsoft Agent"
  186.  
  187. [TTSUnRegister]
  188. HKCR, CLSID\{1B6BF831-9299-101B-8A19-265D428C60FF}
  189. HKLM,"SOFTWARE\Microsoft\Microsoft Agent","CgramDir"
  190. HKLM, Software\Microsoft\Windows\CurrentVersion\Uninstall\TruVoice
  191.  
  192. ; ***********************************************************
  193. ; here is the FILES SECTION.....
  194.  
  195. [LWVCopy]
  196. mslwvtts.dll
  197.  
  198. [TTSCopy]
  199. Cgrm_enp.dll
  200. wrapcgrm.dll
  201.  
  202. [AgentCopy]
  203. AgentCtl.dll
  204. AgentDPv.dll
  205. AgentSvr.exe
  206. AgentHks.dll
  207.  
  208. [AgentRemove]
  209. AgentCtl.dll,,,1
  210. AgentDPv.dll,,,1
  211. AgentSvr.exe,,,1
  212. AgentHks.dll,,,1
  213.  
  214. [LWVRemove]
  215. mslwvtts.dll,,,1
  216.  
  217. [AgentOCA]
  218. AgentCtl.oca
  219.  
  220. [AgentINFCopy]
  221. agtinst.inf
  222. msrmcgrm.inf
  223.  
  224. [RemoveINF]
  225. msrmcgrm.inf
  226. msagent.inf
  227.  
  228. [AgentHLPCopy] 
  229. msagent.hlp
  230.  
  231. [RemoveCab]
  232. msagent.exe
  233.  
  234. [SourceDisksNames] 
  235. 1 = %DiskName%,agent,0
  236.  
  237. [SourceDisksFiles] 
  238. agtinst.inf = 1
  239. ;DelGenie.inf = 1
  240. ;agtinst.exe = 1
  241. ;genie.inf = 1
  242. ;msagent2.inf = 1
  243. AgentCtl.dll = 1
  244. AgentDPv.dll = 1
  245. AgentSvr.exe = 1
  246. AgentHks.dll = 1
  247. mslwvtts.dll = 1
  248. ;setupapi.dll = 1
  249. msagent.hlp = 1
  250.  
  251. [Strings] 
  252. PROGRAMF = "Program Files"
  253. SPEECH = "Speech"
  254. CHARACTERS = "Characters"
  255. MSAGENT = "Microsoft Agent"
  256. PRODNAME = "Microsoft Agent 1.5"
  257. ADVPKPRMPT = "No se encontr≤ la versi≤n correcta del archivo Advpack.dll. La instalaci≤n se ha interrumpido."
  258. IEPRMPT = "Necesita Microsoft Internet Explorer, versi≤n 3.0 o posterior. La instalaci≤n se ha interrumpido."
  259. AskInstall = "┐D≤nde desea instalar Microsoft Agent 1.5 y sus componentes?"
  260. TellInstall = "El programa de instalaci≤n detect≤ componentes de Microsoft Agent en el directorio se±alado. Es recomendable no cambiar de directorio."
  261. DiskName = "Disco de instalaci≤n de Microsoft Agent 1.5"
  262. AgentDesc = "Programa de desinstalaci≤n de Microsoft Agent 1.5"  
  263. AskUninstall = "┐Estß seguro de que desea quitar Microsoft Agent 1.5?"
  264. DoneUninstall = "Se quit≤ Microsoft Agent 1.5."
  265.  
  266.